Make the route a one-liner
This commit is contained in:
parent
9a3de4e2d5
commit
c2e8121ac8
@ -7,6 +7,4 @@ before do
|
|||||||
unless settings.development? || request.host =~ /^www\./
|
unless settings.development? || request.host =~ /^www\./
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/*' do
|
get('/*') { erb(:index) }
|
||||||
erb(:index)
|
|
||||||
end
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user