module Morion::Web::ApplicationHelper
Public Instance Methods
img(path, params = {})
click to toggle source
# File lib/morion/web/helpers/application_helper.rb, line 8 def img(path, params = {}) "<img src='assets/#{path}' class='#{params[:class]}' />" end
title(value = nil)
click to toggle source
# File lib/morion/web/helpers/application_helper.rb, line 4 def title(value = nil) @title = value end