Skip to content

Commit

Permalink
No indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Mar 26, 2013
1 parent 892d80f commit d8f0891
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/unit/action_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,14 @@ def action_welcome
execute("action_welcome")
end


private

def execute(method)
if method.to_s =~ /^action_(.*)/
render :action => (params[:template] || 'default')
end
def execute(method)
if method.to_s =~ /^action_(.*)/
render :action => (params[:template] || 'default')
end
end


class BlockBuilder < TabsOnRails::Tabs::TabsBuilder
Expand Down

0 comments on commit d8f0891

Please sign in to comment.