Module: Morion::Web::ApplicationHelper

Defined in:
lib/morion/web/helpers/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#img(path, params = {}) ⇒ Object



8
9
10
# 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) ⇒ Object



4
5
6
# File 'lib/morion/web/helpers/application_helper.rb', line 4

def title(value = nil)
  @title = value
end