monocle 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/monocle/server.rb +1 -5
- data/lib/monocle/version.rb +1 -1
- metadata +1 -1
data/lib/monocle/server.rb
CHANGED
@@ -14,11 +14,7 @@ module Monocle
|
|
14
14
|
Base64.decode64('R0lGODlhAQABAPAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==')
|
15
15
|
end
|
16
16
|
|
17
|
-
get '/:type/click/:id
|
18
|
-
click_object(params[:type], params[:id], params[:redirect_to])
|
19
|
-
end
|
20
|
-
|
21
|
-
get '/:type/click/:redirect_to/:id.:format' do
|
17
|
+
get '/:type/click/:redirect_to/:id' do
|
22
18
|
click_object(params[:type], params[:id], params[:redirect_to])
|
23
19
|
end
|
24
20
|
|
data/lib/monocle/version.rb
CHANGED