Skip to content

Commit

Permalink
Refactored to get spec to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 18, 2010
1 parent f0c9d74 commit ac2c158
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
(action_name == 'new')? 'no_sidebar' : 'application'
("new, create".include? action_name)? 'no_sidebar' : 'application'
end
end

0 comments on commit ac2c158

Please sign in to comment.