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?.


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/rkxgeYO170oJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to