public
Description: This contains various plugins for Feather
Clone URL: git://github.com/eldiablo/feather-plugins.git
Search Repo:
Click here to lend your support to: feather-plugins and make a donation at www.pledgie.com !
adding in index view for links, fixed issue with routing, added helper 
method to links controller to allow it to use its own views, but using 
main app layouts
eldiablo (author)
Sun Apr 06 13:36:32 -0700 2008
commit  cca5e46456d2e70a1c2f953b405b6cec06133061
tree    17cd0a224bbf46f4929067d64c388d76e9504ba0
parent  211bf71c50bb985346d88450a29964a6ff6c7dc7
...
1
2
 
 
 
3
 
4
5
6
7
...
1
 
2
3
4
5
6
7
8
9
10
0
@@ -1,6 +1,9 @@
0
 module Admin
0
- class Links < Base
0
+ class Links < Base
0
+ include_plugin_views __FILE__
0
+
0
     def index
0
+ render
0
     end
0
   end
0
 end
0
\ No newline at end of file
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@ require File.join(File.join(File.dirname(__FILE__), "models"), "link")
0
 
0
 Merb::Router.prepend do |r|
0
   r.namespace :admin do |admin|
0
- admin.resource :links
0
+ admin.resources :links
0
   end
0
 end
0
 
...
13
14
15
 
 
 
 
 
 
 
16
...
13
14
15
16
17
18
19
20
21
22
23
0
@@ -13,3 +13,10 @@ plugin:
0
         models:
0
             .:
0
                 - link.rb
0
+ views:
0
+ .:
0
+ admin:
0
+ .:
0
+ links:
0
+ .:
0
+ - index.html.erb
0
\ No newline at end of file

Comments

    No one has commented yet.