change name define

parent 06152faa
Pipeline #904 failed with stages
in 0 seconds
class JobsController < ApplicationController
before_action :set_job, only: [:show]
before_action :use_variables
before_action :general_variables
def index
@jobs_list = Job.all.page(params[:page]).per(Job::LIMIT_PAGE)
......@@ -36,7 +36,7 @@ class JobsController < ApplicationController
@job ||= Job.find_by(params[:id])
end
def use_variables
def general_variables
@cities = City.all
@industries = Industry.all
@total_job = Job.count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment