All,
Im having an issue while including the plugins actions index,show. I
need
to use my customized plugin actions instead of an existing functions.
Please any one help me out.
ror_project/app/controller/samples_controller.rb
class SamplesController < ApplicationController
def index
some actions
end
def show
some actions
end
def edit
end
end
My plugin called my_plugin ->
ror_project/vendor/my_plugin/app/controller/samples_controller.rb
class SamplesController < ApplicationController
def index
some actions
end
def show
some actions
end
end
The plugin actions are working when i removed the index & show from
controller. Otherwise it doesn’t. Can anyone tell what is the correct
steps
to
do it?.