Sha256: b8ecfdda2049b287703d40d19eca37ac794111cb17aba29e511178a4c658537a

Contents?: true

Size: 186 Bytes

Versions: 14

Compression:

Stored size: 186 Bytes

Contents

module RedactorRails
  module Helpers
    # Setting Redactor Language
    def redactor_lang(lang = 'en')
      javascript_include_tag "redactor-rails/langs/#{lang}.js"
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
th_simple_content_management-0.2.7 lib/redactor-rails/helper.rb
th_simple_content_management-0.2.6 lib/redactor-rails/helper.rb
th_simple_content_management-0.2.5 lib/redactor-rails/helper.rb
th_simple_content_management-0.2.4 lib/redactor-rails/helper.rb
th_simple_content_management-0.2.3 lib/redactor-rails/helper.rb
redactor-rails-0.3.7 lib/redactor-rails/helper.rb
redactor-rails-0.3.6 lib/redactor-rails/helper.rb
redactor-rails-0.4 lib/redactor-rails/helper.rb
th_simple_content_management-0.2.2 lib/redactor-rails/helper.rb
redactor-rails-0.3.5 lib/redactor-rails/helper.rb
redactor-rails-0.3.3 lib/redactor-rails/helper.rb
redactor-rails-0.3.2 lib/redactor-rails/helper.rb
redactor-rails-0.3.1 lib/redactor-rails/helper.rb
redactor-rails-0.3 lib/redactor-rails/helper.rb