Sha256: 0b4671a1cbbdc3cc079be3e2de4394d3580efeade335870681814a932d608101

Contents?: true

Size: 638 Bytes

Versions: 38

Compression:

Stored size: 638 Bytes

Contents

<%- format = request.format.symbol.to_s %>
<hr/>
<h4>Explanation:</h4>
You 'hit' the '<%= params[:action]%>' action - and got the abstracted view template in response
(I'm guessing here: because the <%= params[:controller].pluralize.capitalize %>Controller is wired to inherit from AbstractedController)!
<h4>Errand</h4>
Add an <%= params[:action]%>.<%= format %>.&lt;templating-language-suffix&gt; file to the folder <%= Rails.root %>/app/views/<%= params[:controller].pluralize %>
<h4>Example</h4>
<pre>
  <%= Rails.root %>/app/views/<%= params[:controller].pluralize %>/<strong><%= params[:action]%>.<%= format %>.haml</strong>
</pre>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
abstracted-0.4.22 app/views/abstract_resources/_default.html.erb
abstracted-0.4.21 app/views/abstract_resources/_default.html.erb
abstracted-0.4.20 app/views/abstract_resources/_default.html.erb
abstracted-0.4.19 app/views/abstract_resources/_default.html.erb
abstracted-0.4.18 app/views/abstract_resources/_default.html.erb
abstracted-0.4.17 app/views/abstract_resources/_default.html.erb
abstracted-0.4.16 app/views/abstract_resources/_default.html.erb
abstracted-0.4.15 app/views/abstract_resources/_default.html.erb
abstracted-0.4.14 app/views/abstract_resources/_default.html.erb
abstracted-0.4.13 app/views/abstract_resources/_default.html.erb
abstracted-0.4.12 app/views/abstract_resources/_default.html.erb
abstracted-0.4.10 app/views/abstract_resources/_default.html.erb
abstracted-0.4.9 app/views/abstract_resources/_default.html.erb
abstracted-0.4.8 app/views/abstract_resources/_default.html.erb
abstracted-0.4.7 app/views/abstract_resources/_default.html.erb
abstracted-0.4.6 app/views/abstract_resources/_default.html.erb
abstracted-0.4.5 app/views/abstract_resources/_default.html.erb
abstracted-0.4.4 app/views/abstract_resources/_default.html.erb
abstracted-0.4.3 app/views/abstract_resources/_default.html.erb
abstracted-0.4.2 app/views/abstract_resources/_default.html.erb