mime-types come with rails
Oleg
committed May 09, 2011
commit cb523594801fba13031a7273fddf59fa445a67fb
Showing 4
changed files with
1 additions
and 7 deletions
Gemfile
+0
-1
| @@ | @@ -3,7 +3,6 @@ source 'http://rubygems.org' |
| gem 'rails', '>=3.0.3' | |
| gem 'active_link_to', '>=0.0.6' | |
| gem 'paperclip', '>=2.3.8' | |
| - | gem 'mime-types', :require => 'mime/types' |
| # If you wish to use sqlite in production | |
| # gem 'sqlite3' | |
Gemfile.lock
+0
-1
| @@ | @@ -80,7 +80,6 @@ PLATFORMS |
| DEPENDENCIES | |
| active_link_to (>= 0.0.6) | |
| jeweler (>= 1.4.0) | |
| - | mime-types |
| paperclip (>= 2.3.8) | |
| rails (>= 3.0.3) | |
| sqlite3 | |
app/views/cms_admin/snippets/edit.html.erb
+1
-0
| @@ | @@ -1,3 +1,4 @@ |
| + | <%= link_to span_tag(pluralize(@cms_snippet.revisions.count, 'revision')), new_cms_admin_snippet_path, :class => 'big button' %> |
| <h1> Editing Snippet </h1> | |
| <%= cms_form_for @cms_snippet, :url => {:action => :update} do |form| %> | |
config/initializers/mime_types.rb
+0
-5
| @@ | @@ -1,5 +0,0 @@ |
| - | # Be sure to restart your server when you modify this file. |
| - | |
| - | # Add new mime types for use in respond_to blocks: |
| - | # Mime::Type.register "text/richtext", :rtf |
| - | # Mime::Type.register_alias "text/html", :iphone |