Skip to content

Commit

Permalink
fix stimulus helper
Browse files Browse the repository at this point in the history
  • Loading branch information
astrocket committed Aug 15, 2019
1 parent c3c7930 commit 94972d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
insert_into_file 'app/helpers/application_helper.rb', before: /^end/ do
<<-'RUBY'
def stc
"#{controller_path.gsub('_', '-').gsub('/', '--')}--#{action_name}"
"#{controller_path.gsub('_', '-').gsub('/', '--')}--#{action_name.gsub('_', '-')}"
end
def human_time(datetime)
Expand Down

0 comments on commit 94972d5

Please sign in to comment.