File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
3
+ gem 'thin'
3
4
gem 'rails' , '4.1.4'
4
5
gem 'sass-rails' , '~> 4.0.3'
5
6
gem 'uglifier' , '>= 1.3.0'
Original file line number Diff line number Diff line change 71
71
execjs
72
72
coffee-script-source (1.8.0 )
73
73
colorize (0.7.3 )
74
+ daemons (1.1.9 )
74
75
devise (3.3.0 )
75
76
bcrypt (~> 3.0 )
76
77
orm_adapter (~> 0.1 )
77
78
railties (>= 3.2.6 , < 5 )
78
79
thread_safe (~> 0.1 )
79
80
warden (~> 1.2.3 )
80
81
erubis (2.7.0 )
82
+ eventmachine (1.0.3 )
81
83
execjs (2.2.1 )
82
84
faraday (0.9.0 )
83
85
multipart-post (>= 1.2 , < 3 )
185
187
therubyracer (0.12.1 )
186
188
libv8 (~> 3.16.14.0 )
187
189
ref
190
+ thin (1.6.2 )
191
+ daemons (>= 1.0.9 )
192
+ eventmachine (>= 1.0.0 )
193
+ rack (>= 1.0.0 )
188
194
thor (0.19.1 )
189
195
thread_safe (0.3.4 )
190
196
tilt (1.4.1 )
@@ -230,6 +236,7 @@ DEPENDENCIES
230
236
slim-rails
231
237
sqlite3
232
238
therubyracer
239
+ thin
233
240
turbolinks
234
241
uglifier (>= 1.3.0 )
235
242
unicorn
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def song_params
31
31
pars = pars . permit ( :name , :file )
32
32
end
33
33
34
- pars [ :file ] = params [ :file ]
34
+ pars [ :file ] = params [ :file ] if params [ :file ]
35
35
return pars
36
36
end
37
37
end
You can’t perform that action at this time.
0 commit comments