public
Description: Rails Plugin - a RailsEngines-based CMS extension for any Rails project
Homepage: http://6brand.com
Clone URL: git://github.com/JackDanger/simple_pages.git
handy new warning

git-svn-id: http://svn.6brand.com/projects/plugins/simple_pages@315 
7491b73d-821b-0410-9297-ad1f6b5b4194
studioda (author)
Thu Feb 22 09:10:13 -0800 2007
commit  4533fed5f9f4d2a2c3ee2cab4f6089b54510d402
tree    e6c88e95a6d6408b7acf9a3284f3d447c0a0f6fe
parent  30af765f9895e8d5b5284da0d79dd5a12277f257
...
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
3
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -1,2 +1,19 @@
0
 module SimplePagesHelper
0
+
0
+ def simple_new_page_path
0
+ super
0
+ rescue
0
+ raise helper_error
0
+ end
0
+
0
+ def simple_page_path
0
+ super
0
+ rescue
0
+ raise helper_error
0
+ end
0
+
0
+ def helper_error
0
+ "You must install this plugin's routes! Add the line 'map.from_plugin :simple_pages' to your config/routes.rb"
0
+ end
0
+
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.