Skip to content

Commit

Permalink
Refactored so that our edit views also use the no sidebar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 21, 2010
1 parent 11ad5ba commit d31840b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -17,6 +17,6 @@ def tags
end

def default_or_defined
("new, create".include? action_name)? 'no_sidebar' : 'application'
("new, create, edit".include? action_name)? 'no_sidebar' : 'application'
end
end

0 comments on commit d31840b

Please sign in to comment.