Class: Dhatu::BlogPostsController
- Inherits:
-
ResourceController
- Object
- Kuppayam::BaseController
- ApplicationController
- ResourceController
- Dhatu::BlogPostsController
- Defined in:
- app/controllers/dhatu/blog_posts_controller.rb
Instance Method Summary collapse
Methods inherited from ResourceController
#configure_filter_param_mapping, #get_category_filters
Instance Method Details
#new ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/dhatu/blog_posts_controller.rb', line 4 def new get_category_filters("Dhatu::BlogPost") @r_object = @blog_post = Dhatu::BlogPost.new(category: @category) render_accordingly end |