mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use Ruby 1.9 hash syntax
This commit is contained in:
parent
61b03f37d8
commit
3f70e8bd2d
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<%= wrap_in_modules <<-rb.strip_heredoc
|
<%= wrap_in_modules <<-rb.strip_heredoc
|
||||||
class ApplicationController < ActionController::#{api? ? "API" : "Base"}
|
class ApplicationController < ActionController::#{api? ? "API" : "Base"}
|
||||||
#{ api? ? '# ' : '' }protect_from_forgery :with => :exception
|
#{ api? ? '# ' : '' }protect_from_forgery with: :exception
|
||||||
end
|
end
|
||||||
rb
|
rb
|
||||||
%>
|
%>
|
||||||
|
|
Loading…
Reference in a new issue