Skip to content

Commit

Permalink
no need to try to monkey-hack template paths anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Feb 2, 2009
1 parent 5a37f7f commit f44983d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/controllers/posts_controller.rb
Expand Up @@ -39,16 +39,6 @@ def show
end
end

def default_template_name(action_name = self.action_name)
if action_name
action_name = action_name.to_s
if action_name.include?('/') && template_path_includes_controller?(action_name)
action_name = strip_out_controller(action_name)
end
end
"#{self.controller_path}/#{action_name}"
end

private

def post_type
Expand Down

0 comments on commit f44983d

Please sign in to comment.