Class: Decidim::DummyResourcesController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Decidim::DummyResourcesController
- Defined in:
- lib/decidim/dev/test/rspec_support/feature.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
57 58 59 60 61 62 63 64 65 66 |
# File 'lib/decidim/dev/test/rspec_support/feature.rb', line 57 def show @commentable = DummyResources::DummyResource.find(params[:id]) render inline: %{ <%= csrf_meta_tags %> <%= display_flash_messages %> <div class="reveal" id="loginModal" data-reveal></div> <%= javascript_include_tag 'application' %> <%= inline_comments_for(@commentable) %> } end |