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 %>.<templating-language-suffix> 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