Add friendly_id to test group in gem file
This commit is contained in:
1 parent
f77d187f66
commit
8573b40e6f
2 files changed
+1
-2
No files matched your search
@@ -21,6 +21,7 @@ group :test do
|
||||
gem 'rspec-rails'
|
||||
gem 'simplecov'
|
||||
gem 'systemu'
|
||||
gem 'friendly_id', '~> 4.0.10.1'
|
||||
end
|
||||
|
||||
gemspec
|
||||
@@ -2,8 +2,6 @@ class ProfilesController < ApplicationController
|
||||
helper_method :current_user
|
||||
|
||||
def show
|
||||
@profile = Profile.friendly.find params[:id]
|
||||
impressionist(@profile, nil, :unique => [:impressionable_type, :impressionable_id])
|
||||
end
|
||||
|
||||
def current_user
|
||||
|
||||
Reference in new issue
Block a user