Skip to content

Commit

Permalink
add call_hook 'script_in_account_setting' refs codefirst#140
Browse files Browse the repository at this point in the history
  • Loading branch information
shimomura1004 committed Sep 28, 2013
1 parent d575720 commit d7a175e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/account/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
=text_field :account, :secret_key, :class => :text, :value => current_user.spell
=submit_tag t(:generate), :class => "submit red button large"
=raw(call_hook :account_setting_item)
= content_for :javascripts do
.script_in_account_setting= raw(call_hook(:script_in_account_setting))

0 comments on commit d7a175e

Please sign in to comment.