merbiful-release 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/merbiful-release/routes.rb +1 -1
- data/lib/merbiful-release/routes.rb~ +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
Merb.logger.info("Compiling merbiful routes...")
|
3
|
-
Merb::Router.
|
3
|
+
Merb::Router.prepare do |r|
|
4
4
|
r.match("/merbiful_admin").to(:controller => "admin", :namespace => "merbiful", :action => "index").name(:merbiful_admin_index)
|
5
5
|
r.match("/merbiful_admin/:action").to(:controller => "admin", :namespace => "merbiful").name(:merbiful_admin)
|
6
6
|
r.match("/stylesheets/admin").to(:controller => "admin", :namespace => "merbiful", :action => "render_css").name(:merbiful_admin_css)
|
@@ -6,7 +6,7 @@ Merb::Router.append do |r|
|
|
6
6
|
r.match("/stylesheets/admin").to(:controller => "admin", :namespace => "merbiful", :action => "render_css").name(:merbiful_admin_css)
|
7
7
|
r.match("/stylesheets/:id.css").to(:controller => "controller", :namespace => "merbiful", :action => "css")
|
8
8
|
r.match("/javascripts/:id.js").to(:controller => "controller", :namespace => "merbiful", :action => "js")
|
9
|
-
r.match(/(.*)/).to(:controller => "controller", :namespace => "merbiful", :action => "
|
9
|
+
r.match(/(.*)/).to(:controller => "controller", :namespace => "merbiful", :action => "page", :what => "[1]")
|
10
10
|
end
|
11
11
|
|
12
12
|
module Merbiful
|