Question : run method before rails
Answered by : doubtful-dingo
before_action :run_method, only: [index, :show]
Source : | Last Update : Tue, 28 Jan 20
Answered by : doubtful-dingo
before_action :run_method, only: [index, :show]
Source : | Last Update : Tue, 28 Jan 20