Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get_link_list

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get_link_list

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Information

thumb

getlinklist will be able to easily display a linked list of routing only of GET on view.

You can hide in unnecessary get url.

Getting start

Add to this in Gemfile

gem ‘get_link_list’

Run bundle install command

bundle install

open app/assets/javascripts/application.js
write this

//= require get_link_list

open app/assets/stylesheets/application.css
write this

  *= require get_link_list

open app/views/layouts/application.html.erb add helper in top of body tag

  <%= render_get_links if !Rails.env.production? %>

setting for ignore

All GET link does not need to be displayed in the view.
For example, mailer links are GET, but there is no need to display.

You can set the controllers and actions that do not appear in the list.

create config file

bundle exec rails g get_link_list:config

ignore controller

Open config/initializers/get_link_list.rb

config.ignore_controller = ["controller_name1" : "", "controller_name2" : ""]

ignore controller action

config.ignore_controller = ["controller_name1" : ["action_name1","action_name2"]]

Expand assets

If you want to customize js and css.
GetLinkList Gem expands assets in your rails application.

Run this

bundle exec rails g get_link_list:assets

and then

create  app/assets/javascripts/get_link_list/index.js.coffee
create  app/assets/stylesheets/get_link_list/index.css.scss

FAQs

Package last updated on 19 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc