Created
October 5, 2010 09:53
-
-
Save bishopandco/611303 to your computer and use it in GitHub Desktop.
This file contains 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
# @menu.special_action ="contact" | |
def show | |
@menu = Menu.find(params[:id]) | |
@resource = @menu.resource | |
unless @menu.special_action.nil? | |
render @menu.special_action.to_sym | |
else | |
render 'show' | |
end | |
end | |
def contact | |
@contact = Contact.new() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment