Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

run method before rails

before_action :run_method, only: [index, :show]
 
PREVIOUS NEXT
Tagged: #run #method #rails
ADD COMMENT
Topic
Name
1+2 =