Module: RenderPostAction
- Extended by:
- ActiveSupport::Concern
- Included in:
- Admin::PostsController, PostsController
- Defined in:
- app/controllers/concerns/render_post_action.rb
Instance Method Summary collapse
Instance Method Details
#render_post_action(action, args = {}) ⇒ Object
4 5 6 |
# File 'app/controllers/concerns/render_post_action.rb', line 4 def render_post_action(action, args = {}) render action, args.merge(prefixes: [@config.key, 'posts']) end |