Created
June 22, 2009 19:36
-
-
Save baldwindavid/134146 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::Routing::Routes.draw do |map| | |
map.with_options :controller => "info" do |info| | |
%w[action1 action2 whatever yada1 yada2 yada3].each do |action| | |
info.send(action, action, :action => action) | |
end | |
info.home "/" | |
info.root | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment